#pragma once
#include <d3dx9.h>
#include <Windows.h>

#define D3DFVF_CUSTOMVERTEX (D3DFVF_XYZ|D3DFVF_DIFFUSE)

typedef struct CUSTOMVERTEX
{
	float x, y, z;
	DWORD color;

	static unsigned int getFlags()
	{
		return(D3DFVF_CUSTOMVERTEX);
	}
}CUSTOMVERTEX;
